package com.molichuxing.services.infrastructure.bean;

import java.math.BigDecimal;
import java.time.LocalDateTime;

import com.molichuxing.framework.bean.RootBean;

public class OrderDealerDeliveryBean extends RootBean {
    /**
     * id id
     */
    private Integer id;

    /**
     * 订单号 order_code
     */
    private Long orderCode;

    /**
     * 车辆id car_id
     */
    private Integer carId;

    /**
     * 已行驶里程 total_mileage
     */
    private Integer totalMileage;

    /**
     * 租金 rent
     */
    private BigDecimal rent;

    /**
     * 保证金 deposit
     */
    private BigDecimal deposit;

    /**
     * 交车单url delivery_url
     */
    private String deliveryUrl;

    /**
     * 拒收原因 reject_reason
     */
    private String rejectReason;

    /**
     * 锁定状态(0:已锁定，1：解除锁定) isLock
     */
    private Boolean isLock;

    /**
     * 发车状态(1:未发车，2：拒收车，3：未收车，4：已收车) send_status
     */
    private Integer sendStatus;

    /**
     * 发车人id
     */
    private Integer operatorId;
    /**
     * 发车人名称
     */
    private String operatorName;
    /**
     * 发车时间
     */
    private LocalDateTime operatorTime;

    /**
     * 发车库id
     */
    private Integer outStockId;
    /**
     * 收车地址
     */
    private String takeAite;

    /**
     * 收车门店id
     */
    private Integer storeId;

    /**
     * 收车时间
     */
    private LocalDateTime receptionTime;

    /**
     * 是否有更换(0:未更换，1：已更换) is_changed
     */
    private Boolean isChanged;

    /**
     * 创建时间 gmt_create
     */
    private LocalDateTime gmtCreate;

    /**
     * 更新时间 gmt_modified
     */
    private LocalDateTime gmtModified;

    /**
     * orders_order_dealer_delivery
     */
    private static final long serialVersionUID = 1L;


    @Override
    public String toString() {
        return "OrderDealerDeliveryBean{" +
                "id=" + id +
                ", orderCode=" + orderCode +
                ", carId=" + carId +
                ", totalMileage=" + totalMileage +
                ", rent=" + rent +
                ", deposit=" + deposit +
                ", deliveryUrl='" + deliveryUrl + '\'' +
                ", rejectReason='" + rejectReason + '\'' +
                ", isLock=" + isLock +
                ", sendStatus=" + sendStatus +
                ", operatorId=" + operatorId +
                ", operatorName='" + operatorName + '\'' +
                ", operatorTime=" + operatorTime +
                ", outStockId=" + outStockId +
                ", takeAite='" + takeAite + '\'' +
                ", storeId=" + storeId +
                ", receptionTime=" + receptionTime +
                ", isChanged=" + isChanged +
                ", gmtCreate=" + gmtCreate +
                ", gmtModified=" + gmtModified +
                '}';
    }

    @Override
    public Integer getId() {
        return id;
    }

    @Override
    public void setId(Integer id) {
        this.id = id;
    }

    public Long getOrderCode() {
        return orderCode;
    }

    public void setOrderCode(Long orderCode) {
        this.orderCode = orderCode;
    }

    public Integer getCarId() {
        return carId;
    }

    public void setCarId(Integer carId) {
        this.carId = carId;
    }

    public Integer getTotalMileage() {
        return totalMileage;
    }

    public void setTotalMileage(Integer totalMileage) {
        this.totalMileage = totalMileage;
    }

    public BigDecimal getRent() {
        return rent;
    }

    public void setRent(BigDecimal rent) {
        this.rent = rent;
    }

    public BigDecimal getDeposit() {
        return deposit;
    }

    public void setDeposit(BigDecimal deposit) {
        this.deposit = deposit;
    }

    public String getDeliveryUrl() {
        return deliveryUrl;
    }

    public void setDeliveryUrl(String deliveryUrl) {
        this.deliveryUrl = deliveryUrl;
    }

    public String getRejectReason() {
        return rejectReason;
    }

    public void setRejectReason(String rejectReason) {
        this.rejectReason = rejectReason;
    }

    public Boolean getLock() {
        return isLock;
    }

    public void setLock(Boolean lock) {
        isLock = lock;
    }

    public Integer getSendStatus() {
        return sendStatus;
    }

    public void setSendStatus(Integer sendStatus) {
        this.sendStatus = sendStatus;
    }

    public Integer getOperatorId() {
        return operatorId;
    }

    public void setOperatorId(Integer operatorId) {
        this.operatorId = operatorId;
    }

    public String getOperatorName() {
        return operatorName;
    }

    public void setOperatorName(String operatorName) {
        this.operatorName = operatorName;
    }

    public LocalDateTime getOperatorTime() {
        return operatorTime;
    }

    public void setOperatorTime(LocalDateTime operatorTime) {
        this.operatorTime = operatorTime;
    }

    public Integer getOutStockId() {
        return outStockId;
    }

    public void setOutStockId(Integer outStockId) {
        this.outStockId = outStockId;
    }

    public String getTakeAite() {
        return takeAite;
    }

    public void setTakeAite(String takeAite) {
        this.takeAite = takeAite;
    }

    public Integer getStoreId() {
        return storeId;
    }

    public void setStoreId(Integer storeId) {
        this.storeId = storeId;
    }

    public LocalDateTime getReceptionTime() {
        return receptionTime;
    }

    public void setReceptionTime(LocalDateTime receptionTime) {
        this.receptionTime = receptionTime;
    }

    public Boolean getChanged() {
        return isChanged;
    }

    public void setChanged(Boolean changed) {
        isChanged = changed;
    }

    @Override
    public LocalDateTime getGmtCreate() {
        return gmtCreate;
    }

    @Override
    public void setGmtCreate(LocalDateTime gmtCreate) {
        this.gmtCreate = gmtCreate;
    }

    @Override
    public LocalDateTime getGmtModified() {
        return gmtModified;
    }

    @Override
    public void setGmtModified(LocalDateTime gmtModified) {
        this.gmtModified = gmtModified;
    }
}